<template>
  <div class="container">
    <div style="width: 100vw; flex: 0 1 auto">
      <slot name="header"></slot>
    </div>
    <div style="width: 100vw; flex: 1 1 auto">
      <slot name="body"></slot>
    </div>
    <div style="width: 100vw; flex: 0 1 auto">
      <slot name="footer"></slot>
    </div>
  </div>
</template>

<script setup></script>
<style lang="less" scoped>
.container {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: auto;
  min-height: 100vh;
  align-items: center;
  justify-content: space-between;
}
</style>
